Skip to content

Update formula and french motor tutorials#986

Merged
Matthias Schmidtblaicher (MatthiasSchmidtblaicherQC) merged 2 commits intomainfrom
fix-tutorials
Mar 18, 2026
Merged

Update formula and french motor tutorials#986
Matthias Schmidtblaicher (MatthiasSchmidtblaicherQC) merged 2 commits intomainfrom
fix-tutorials

Conversation

@MatthiasSchmidtblaicherQC
Copy link
Copy Markdown
Contributor

@MatthiasSchmidtblaicherQC Matthias Schmidtblaicher (MatthiasSchmidtblaicherQC) commented Mar 16, 2026

Summary

  • Fix formula_interface tutorial: remove unused import pytest (unavailable in docs env) and replace pytest.raises with equivalent try/except pattern.
  • Fix glm_french_motor tutorial: fix incorrect sample_weight keyword to weights in np.average() calls.
  • Fix typos across both notebooks.
  • Re-execute both notebooks in-place to refresh outputs.

Notes

  • Execution of regularization_housing and rossman/* currently still fails (former because of OpenML incompatibility, latter because of data download) and should be fixed separately.
  • The French Motor Tutorial may benefit from a simplification and rewrite.

@MatthiasSchmidtblaicherQC Matthias Schmidtblaicher (MatthiasSchmidtblaicherQC) merged commit 8d6dab6 into main Mar 18, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants